isCommandEnabled

public abstract boolean isCommandEnabled(EditorCommand.Name commandName)

Returns true if the command with the given commandName can be executed in the frame.

Some commands can be executed only under certain conditions. For example, the INSERT_TEXT command can be executed only if there is a focused text field in the frame.

Parameters

commandName

the name of the command to check

Throws

when the frame is closed